import Vue from 'vue'
import App from './App'
import {baseURL,tourl,oosURL,formatDate,truncate} from './utils/base.js'
import fixedheader from '@/components/fixedheader.vue';
import wuMode from '@/components/wu-mode.vue';
import store from './store'
import noData from "@/components/noData.vue"

import uView from "uview-ui";
Vue.use(uView);
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
    ...App
})
Vue.filter('formatDate', formatDate)
Vue.filter('truncate', truncate)
Vue.prototype.tourl=tourl
// Vue.prototype.call=call
Vue.prototype.baseURL=baseURL
Vue.prototype.oosURL=oosURL

Vue.component('fixedheader', fixedheader)
Vue.component('wuMode', wuMode)
Vue.component('noData', noData)
app.$mount()
 